#include "stdafx.h"

#include <Money.h>


namespace
{
	TEST( Franc, Multiplication )
	{
		const auto five( Money::Franc( 5 ) );
		EXPECT_EQ( *Money::Franc( 10) , *(*five * 2) );
		EXPECT_EQ( *Money::Franc( 15 ), *(*five * 3) );
	}

	TEST( Franc, Equality )
	{
		EXPECT_EQ( *Money::Franc( 5 ), *Money::Franc( 5 ) );
		EXPECT_NE( *Money::Franc( 5 ), *Money::Franc( 6 ) );
	}

} // unnamed namespace
